﻿using System;
using System.Collections.ObjectModel;

using Xc.DataAccess.Core;

namespace Xc.DataAccess.HyperTerminalCore.Services
{
    public interface IUdpServerService: IDeviceService<UdpServerOption>
    {
        event Action<UdpClientOnlineInfo> ClientOfflineEvent;
        event Action<UdpClientOnlineInfo> ClientOnlineEvent;

        /// <summary>
        /// 服务端配置信息
        /// </summary>
        UdpServerOption Option { get; set; }
        /// <summary>
        /// 在线设备列表
        /// </summary>
        ObservableCollection<UdpClientOnlineInfo> UdpClientOnlineInfos { get; set; }
    }
}